<template>
	<view class="Header" @click="go_search_onFun()">
		<view class="seach_box">
			<text class="iconBox iconfont icon-sousuo"></text>
			<text class="text">搜索</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			go_search_onFun() {
				uni.navigateTo({
					url: '../../subPageA/search/search'
				})
			}
		}
	}
</script>

<style lang="scss">
.Header {
	z-index: 10;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100rpx;
	background-color: #c00000;
	padding: 0 30rpx;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	.seach_box {
		height: 72rpx;
		width: 100%;
		background-color: #fff;
		border-radius: 36rpx;
		text-align: center;
		line-height: 72rpx;
		.iconBox {
			font-weight: 1000;
		}
		.text {
			font-size: 30rpx;
			margin-left: 20rpx;
		}
	}
}
</style>
